package com.hyh.eblog.service;

import com.hyh.eblog.common.lang.Result;
import com.hyh.eblog.dto.UserLoginParam;
import com.hyh.eblog.dto.UserRegisterParam;
import com.hyh.eblog.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hyh.eblog.shiro.AccountProfile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Summerday
 * @since 2020-10-19
 */
public interface UserService extends IService<User> {

    Result register(UserRegisterParam registerParam);

    Result login(UserLoginParam loginParam);

    AccountProfile login(String username, String password);
}
